/**
 * 
 */
package com.pcbly.web.business.chart;

import java.util.List;

import com.pcbly.web.bean.chart.ChartDataColumnBean;
import com.pcbly.web.business.BaseServiceImp;
import com.pcbly.web.persistence.chart.ChartDataColumnDao;

/**
 * @author Administrator
 * @date 2009-7-13
 * @copyright lightsoft
 */
public class ChartDataColumnServiceImp extends
		BaseServiceImp<ChartDataColumnBean> implements ChartDataColumnService {

	public ChartDataColumnServiceImp(){
		super();
	}
	protected ChartDataColumnDao chartDataColumnDao;
	
	public void setChartDataColumnDao(ChartDataColumnDao chartDataColumnDao) {
		this.chartDataColumnDao = chartDataColumnDao;
	}

	/* (non-Javadoc)
	 * @see com.pcbly.web.business.chart.ChartDataColumnService#deleteChartDataColumnBean(java.lang.String)
	 */
	@Override
	public int deleteChartDataColumnBean(String id) throws Exception {
		// TODO Auto-generated method stub
		return chartDataColumnDao.deleteChartDataColumnBean(id);
	}

	/* (non-Javadoc)
	 * @see com.pcbly.web.business.chart.ChartDataColumnService#insertChartDataColumnBean(com.pcbly.web.bean.chart.ChartDataColumnBean)
	 */
	@Override
	public int insertChartDataColumnBean(ChartDataColumnBean bean)
			throws Exception {
		// TODO Auto-generated method stub
		return chartDataColumnDao.insertChartDataColumnBean(bean);
	}

	/* (non-Javadoc)
	 * @see com.pcbly.web.business.chart.ChartDataColumnService#queryChartDataColumnBeanById(java.lang.String)
	 */
	@Override
	public ChartDataColumnBean queryChartDataColumnBeanById(String id)
			throws Exception {
		// TODO Auto-generated method stub
		return chartDataColumnDao.queryChartDataColumnBeanById(id);
	}

	/* (non-Javadoc)
	 * @see com.pcbly.web.business.chart.ChartDataColumnService#queryList()
	 */
	@Override
	public List<ChartDataColumnBean> queryList() throws Exception {
		// TODO Auto-generated method stub
		return chartDataColumnDao.queryList();
	}

	/* (non-Javadoc)
	 * @see com.pcbly.web.business.chart.ChartDataColumnService#updateChartDataColumnBean(com.pcbly.web.bean.chart.ChartDataColumnBean)
	 */
	@Override
	public int updateChartDataColumnBean(ChartDataColumnBean bean)
			throws Exception {
		// TODO Auto-generated method stub
		return chartDataColumnDao.updateChartDataColumnBean(bean);
	}
}
